package com.zh.behavior.service.impl;





import com.zh.behavior.dao.SignsDetectDao;
import com.zh.behavior.domain.SignsDetectDO;
import com.zh.behavior.service.SignsDetectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;





@Service
public class SignsDetectServiceImpl implements SignsDetectService {
	@Autowired
	private SignsDetectDao signsDetectDao;
	
	@Override
	public SignsDetectDO get(Integer id){
		return signsDetectDao.get(id);
	}
	
	@Override
	public List<SignsDetectDO> list(Map<String, Object> map){
		return signsDetectDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return signsDetectDao.count(map);
	}
	
	@Override
	public int save(SignsDetectDO sensor){
		return signsDetectDao.save(sensor);
	}
	
	@Override
	public int update(SignsDetectDO sensor){
		return signsDetectDao.update(sensor);
	}
	
	@Override
	public int remove(Integer id){
		return signsDetectDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return signsDetectDao.batchRemove(ids);
	}

	@Override
	public List<String>getAllGateway() {
		return signsDetectDao.getAllGateway();
	}

	@Override
	public List<SignsDetectDO> getSensorType(String[] str) {
		return signsDetectDao.getSensorType(str);
	}

	@Override
	public SignsDetectDO getNewByDev(Map<String, Object> map){return signsDetectDao.getNewByDev(map);}

	@Override
	public List<SignsDetectDO> getNewByDevHis(Map<String, Object> map){return  signsDetectDao.getNewByDevHis(map);}

}
